Published: 2008-03-05
- Content Studio ver. 5.1 +
Type: Information
More information
This article documents the Content Studio specific configuration elements in the
Web.config file used in a Content Studio Web site. The important <web.config>
section
is not configured here.
Under the <configSections>
element a number of sections are listed.
The purpose of these sectionGroups is to define settings that can later be used
i corresponding configuration elements in the configuration file.
These section group elements are:
- CookieEncryptionModule
-
Defines which cookies should be encrypted to make the unreadable outside of ASP.NET.
- Settings
- Defines the general settings for the cookie protection module
- CookieNames
- Defines the cookies that will be encrypted
- FormsAuthenticationModule
- Defines settings for whether Forms Authentication integrates with the Content Studio security system. Every Membership provider that should integrate with Content Studio should be listed here.
-
For more information on how to write and use Forms Authentication providers that
integrates with Content Studio see the article
Writing a custom authentication provider in Content Studio version 5.
If you use any standard Forms login providers, that do not integrate with the Content Studio such as theSqlMembershipProvider , these must not be specified in this setting. - Webitor
-
This setting defines a group of settings that are used to configure the behaviour
of the Webitor i.e. the built in WYSIWYG-html editor.
- These settings are:
- Toolbox
- Defines settings for the Webitor toolbox where controls are loaded.
-
- PublicKeyTokensToIgnore
This setting list all assemblies that should not be loaded into the Webitor toolbar based on their public key token.
The list is given using one <add key="TOKEN" value=""> element per assembly to ignore where TOKEN is the token to ignore and the value attribute is empty. Any assembly signed with this token will be ignored by the Webbitor toolbar when it loads the controls.Example:
<add key="b03f5f7f11d50a3a" value="" />
<add key="f0f0f0f0f0f0f022" value="" />
- AssemblyFilenamesToIgnore
This setting list all assemblies that should not be loaded into the Webitor toolbar based on their file name excluding the path.
Example:
<add key="MyAssembly.dll" value="" />
<add key="TheBadAssembly.dll" value="" />
- PublicKeyTokensToIgnore
<configuration>
<configSections>
<sectionGroup name="ContentStudio">
<sectionGroup name="CookieEncryptionModule">
<section name="Settings" type="ContentStudio.HttpModules.CookieEncryptionModuleConfigurationSection"/>
<section name="CookieNames" type="System.Configuration.NameValueSectionHandler"/>
</sectionGroup>
<sectionGroup name="FormsAuthenticationModule">
<section name="ProviderNames" type="System.Configuration.NameValueSectionHandler"/>
</sectionGroup>
<sectionGroup name="Webitor">
<sectionGroup name="Toolbox">
<section name="PublicKeyTokensToIgnore" type="System.Configuration.NameValueSectionHandler"/>
<section name="AssemblyFilenamesToIgnore" type="System.Configuration.NameValueSectionHandler"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<ContentStudio>
<FormsAuthenticationModule>
<ProviderNames>
<!--<add key="MyProviderName" value=""/>-->
</ProviderNames>
</FormsAuthenticationModule>
<CookieEncryptionModule>
<Settings CookieProtection="All" Enabled="true" Encoding="UTF-8"/>
<CookieNames>
<add key="CS_UserSessionId" value=""/>
</CookieNames>
</CookieEncryptionModule>
<Webitor>
<Toolbox>
<PublicKeyTokensToIgnore>
<add key="b03f5f7f11d50a3a" value="" />
</PublicKeyTokensToIgnore>
</Toolbox>
</Webitor>
</ContentStudio>
</configuration>